<script setup>
import { useNameStore } from '../stores/name';
import { storeToRefs } from 'pinia'

const name = useNameStore()
const { firstName, lastName } = storeToRefs(name)
</script>



<template>
  <div>{{ firstName + " " + lastName }}</div>
</template>



<style scoped></style>